package com.hns.can.mainte.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.hns.can.common.entity.BaseEntity;

/**
 * 故障类型对照表
 * @author:yecb
 * @email:lps00@163.com
 * @version Revision 2.0.0
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_COMM_MFT_COPA")
public class CommMftCopaEntity extends BaseEntity implements java.io.Serializable {
    
    @Id
    @Column(name = "MFT_TYPE_CODE")
    private String mftTypeCode;//故障类型代码
    @Column(name = "CORP_ID")
    private String corpId; 
    @Column(name = "MFT_TYPE_NAME")
    private String mftTypeName;//故障类型名
    @Column(name = "MFT_DISC_CODE")
    private String mftDiscCode;
    @Column(name = "ECU_MFT_CODE")
    private String ecuMftCode;//ECU故障编码
    @Column(name = "ECU_MFT_NAME")
    private String ecuMftName;//ECU故障名称
    @Column(name = "CRT_TIME")
    private Date   crtTime;
    @Column(name = "CRT_USER")
    private String crtUser;
    @Column(name = "UPDATE_TIME")
    private Date   updateTime;
    @Column(name = "UPDATE_USER")
    private String updateUser;
    @Column(name = "MFT_GRADE_NAME")
    private String mftGradeName; //故障等级名称
    @Column(name = "MFT_GRADE_CODE")
    private String mftGradeCode; //故障等级代码
    @Column(name = "MFT_CL_CODE")
    private String mftClCode; //故障分类代码
    @Column(name = "MFT_ANL")
    private String mftAnl; //故障分析
    @Column(name = "SOLUTION_PLAN")
    private String solutionPlan; //解决方案
    @Column(name = "WTHR_FILTER")
    private String wthrFilter;//是否过滤
    @Column(name = "MFT_INSIDE_CODE")
    private String mftInsideCode;//故障内编码
    
    @Transient
    private String corpName;
    
    @Transient
    private BigDecimal mftNum;
    
    public String getMftDiscCode() {
		return mftDiscCode;
	}

	public void setMftDiscCode(String mftDiscCode) {
		this.mftDiscCode = mftDiscCode;
	}

	public String getCorpName() {
        return corpName;
    }
    
    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }
    
    public String getMftTypeCode() {
        return this.mftTypeCode;
    }
    
    public void setMftTypeCode(String mftTypeCode) {
        this.mftTypeCode = mftTypeCode;
    }
    
    public String getCorpId() {
        return this.corpId;
    }
    
    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }
    
    public String getMftTypeName() {
        return this.mftTypeName;
    }
    
    public void setMftTypeName(String mftTypeName) {
        this.mftTypeName = mftTypeName;
    }
    
    public String getEcuMftCode() {
        return this.ecuMftCode;
    }
    
    public void setEcuMftCode(String ecuMftCode) {
        this.ecuMftCode = ecuMftCode;
    }
    
    public String getEcuMftName() {
        return this.ecuMftName;
    }
    
    public void setEcuMftName(String ecuMftName) {
        this.ecuMftName = ecuMftName;
    }
    
    public Date getCrtTime() {
        return this.crtTime;
    }
    
    public void setCrtTime(Date crtTime) {
        this.crtTime = crtTime;
    }
    
    public String getCrtUser() {
        return this.crtUser;
    }
    
    public void setCrtUser(String crtUser) {
        this.crtUser = crtUser;
    }
    
    public Date getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    public String getUpdateUser() {
        return this.updateUser;
    }
    
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    
    public String getMftGradeName() {
        return mftGradeName;
    }
    
    public void setMftGradeName(String mftGradeName) {
        this.mftGradeName = mftGradeName;
    }
    
    public String getMftGradeCode() {
        return mftGradeCode;
    }
    
    public void setMftGradeCode(String mftGradeCode) {
        this.mftGradeCode = mftGradeCode;
    }
    
    public String getMftClCode() {
        return mftClCode;
    }
    
    public void setMftClCode(String mftClCode) {
        this.mftClCode = mftClCode;
    }

	public String getMftAnl() {
		return mftAnl;
	}

	public void setMftAnl(String mftAnl) {
		this.mftAnl = mftAnl;
	}

	public String getSolutionPlan() {
		return solutionPlan;
	}

	public void setSolutionPlan(String solutionPlan) {
		this.solutionPlan = solutionPlan;
	}

	public BigDecimal getMftNum() {
		return mftNum;
	}

	public void setMftNum(BigDecimal mftNum) {
		this.mftNum = mftNum;
	}

	public String getWthrFilter() {
		return wthrFilter;
	}

	public void setWthrFilter(String wthrFilter) {
		this.wthrFilter = wthrFilter;
	}

	public String getMftInsideCode() {
		return mftInsideCode;
	}

	public void setMftInsideCode(String mftInsideCode) {
		this.mftInsideCode = mftInsideCode;
	}
    
}
